package com.atguigu.yygh.hosp.service;

import com.atguigu.yygh.model.hosp.Department;
import com.atguigu.yygh.vo.hosp.DepartmentVo;
import org.springframework.data.domain.Page;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface DepartmentService {
    void saveDepartment(HttpServletRequest request);

    Page<Department> findDepartmentPage(HttpServletRequest request);

    void removeDepartment(HttpServletRequest request);

    List<DepartmentVo> getDeptList(String hoscode);

    String getDepartmentName(String hoscode, String depcode);

    Department getDepartment(String hoscode, String depcode);
}
